export interface SysMenuItem {
  path: string
  name: string
  meta: {
    name: string
  }
  isWindow?: boolean
}

export const sysMenuItems: SysMenuItem[] = [
  {
    path: '/sysMenu/settings',
    name: 'sysMenuSettings',
    meta: {
      name: '设置',
    },
    isWindow: true
  },
  {
    path: '/sysMenu/proxy',
    name: 'sysMenuProxy',
    meta: {
      name: '代理设置',
    },
    isWindow: true
  },
  {
    path: '/sysMenu/about',
    name: 'sysMenuAbout',
    meta: {
      name: '关于',
    },
    isWindow: true
  },
  {
    path: '/sysMenu/shortcutKey',
    name: 'sysMenuShortcutKey',
    meta: {
      name: '快捷键',
    },
    isWindow: true
  }
]

export const menuGroups = [
  {
    label: '文件',
    items: ['sysMenuSettings']
  },
  {
    label: '工具',
    items: ['sysMenuProxy']
  },
  {
    label: '帮助',
    items: ['sysMenuShortcutKey','sysMenuAbout']
  }
]
